#include <iostream>

using namespace std;

void main()
{

	char c;  //character type variable

	cout<<"\n\n   This machine is going to convert a capital letter to small letter. \n\n Write any type of letter. ====>   ";
	cin>>c;     // scan the letter

	cout<<"\n\n   You wrote "<<c;


	if(c>64&&c<91)     // If letter is capital, make it small letter by using ASKII code
		c=c+32;

	cout<<"\n\n   The small letter is..."<<c<<".\n";         //print final value


}
